<%@ page contentType="text/html; charset=UTF-8"%>
<script type="text/javascript">
	function reset(){
		alert("ss");
		$("#usernameId").val("");
		$("#passwordId").val("");
		$("#confirmPasswordId").val("");
		$("#ageId").val("");
		$("#emailId").val("");
		$("#departmentId").val("--请选择--");
		
	}
</script>

<div class="form-group" align="center">
	<div class="col-lg-9 col-lg-offset-3">
		<button class="btn btn-primary" type="submit">
			<i class="icon-ok bigger-110"></i> 保存
		</button>
		&nbsp; &nbsp; &nbsp;
		<button id="resetBtn" class="btn" type="reset">
			<i class="icon-refresh bigger-110"></i> 重置
		</button>
		&nbsp; &nbsp; &nbsp;
		<button id="cancelBtn" class="btn btn-info" type="button">
			<i class="icon-undo bigger-110"></i> 取消
		</button> 
	</div>
</div>



	<script type="text/javascript">
		$("#cancelBtn").click(function(){
			window.history.back();//获取浏览器的缓存对象
		})
	</script>
	
	
	<script type="text/javascript">
		$("#resetBtn").click(function(){
			$("input[name!='id'][name!='baseQuery.currentPage'][name!='baseQuery.pageSize']").val("");
			$("select").val(-1);
		})
	</script>
	
